package com.hotacorp.opencloud.common.log.selector;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @Description:利用ImportSelector装载LoggingFeignHystric和LogAnnotationAOP bean
 * @version 1.0
 * @since JDK1.8
 * @author lwg
 * @copyright (c) 2020. All rights reserved.
 * @date 2020年1月16日 下午3:37:34
 */
public class LogImportSelector implements ImportSelector {

	@Override
	public String[] selectImports(AnnotationMetadata importingClassMetadata) {
		return new String[] {
				"com.hotacorp.opencloud.common.log.feign.LoggingFeignHystric",
				"com.hotacorp.opencloud.common.log.aop.LogAnnotationAOP"
		};
	}

}
